/*
 * Copyright (C) 2017-2025
 * ZKMall All rights reserved, Designed By 深圳中科鑫智科技有限公司
 * Copyright authorization contact 18814114118
 */
package com.shop.zkmall.business.dao.shop;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.zkmall.business.page.index.UserVisitDTO;
import com.shop.zkmall.commons.domain.shop.CereShopVisit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zkmall zkmallvip@163.com
 */
@Mapper
public interface CereShopVisitDAO extends BaseMapper<CereShopVisit> {

    int insertSelective(CereShopVisit record);

    List<UserVisitDTO> selectDistinctVisitUser(@Param("shopId") Long shopId,
                                               @Param("startTime") String startTime,
                                               @Param("endTime") String endTime);
}
